<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <link rel="stylesheet" href="../packages/animate.min.css" />
    <style>
      .box {
        margin-top: 10px;
        padding: 10px;
        background: #686de0;
      }
    </style>
  </head>
  <body>
    <div id="app">
      <!-- https://animate.style/ -->
      <button v-on:click="show = !show">Toggle</button>
      <transition
        name="fade"
        enter-active-class="animate__animated animate__jello"
        leave-active-class="animate__animated animate__backOutRight"
      >
        <div v-if="show" class="box">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Tempore, rem?</div>
      </transition>
    </div>
    <script src="../packages/vue.min.js"></script>
    <script>
      new Vue({
        data() {
          return {
            count: 100,
            show: true,
          }
        },
      }).$mount('#app')
    </script>
  </body>
</html>
